package flextv.data {

import flextv.core.vo.Playlist;
import flextv.core.vo.StoredItem;

import mx.collections.ArrayCollection;
	

public interface IPersistenceService {
	
	function fetchPlaylists(responder: PlaylistResponder): ArrayCollection;
	
	function insertPlaylist(playlist: Playlist): void;
	
	function insertStoredItem(item: StoredItem, playlist: Playlist): void;
	
	function deletePlaylist(playlist: Playlist): void;
	
	function deleteStoredItem(item: StoredItem): void;
	
	function open(): void;
	
	function close(): void;
}
}